<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>首页</title>
    <!-- 禁止检查当前域名 -->
    <meta name="referrer" content="never">
    <!-- 网站图标 -->
    <link rel="shortcut icon" href="favicon copy.ico" />
    <!-- 初始化css文件：用来将所有浏览器中显示不一样的样式，变的一样 -->
    <link rel="stylesheet" href="../css/normalize.css">
    <!-- 引入bootstrap -->
    <link rel="stylesheet" href="../css/bootstrap.css">
    <!-- 公共样式 -->
    <link rel="stylesheet" href="../css/common.css">
    <!-- 当前文件的css -->
    <link rel="stylesheet" href="../css/index.css">
    <!-- swiper的css -->
    <link rel="stylesheet" href="../lib/swiper/swiper-bundle.min.css">
</head>

<body style="background: #fff;">
    <!-- 顶部 -->
    <div class="wrap navbar-default">
        <div class="content">
            <nav class="navbar">
                <div class="container-fluid">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                            data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand logo" href="index.html">
                            <img src="../static/images/R-C.png" alt="">
                        </a>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li class="active"><a href="index.html">首页 <span class="sr-only">(current)</span></a></li>
                            <li><a href="list.html">列表页 </a></li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                    aria-haspopup="true" aria-expanded="false">省份 <span class="caret"></span>
                                </a>
                                <ul class="dropdown-menu province">
                                    <li><a href="#bjjd">北京</a></li>
                                    <li><a href="#ahjd">安徽</a></li>
                                </ul>
                            </li>
                        </ul>
                        <form class="navbar-form navbar-left">
                            <div class="form-group">
                                <input type="text" class="form-control" placeholder="搜你喜欢" id="inp">
                            </div>
                            <button type="submit" class="btn btn-default">搜索</button>
                        </form>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button"
                                    aria-haspopup="true" aria-expanded="false">热购商品 <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#">小米系列</a></li>
                                    <li><a href="#">红米系列</a></li>
                                    <li><a href="#">智能家居</a></li>
                                    <li role="separator" class="divider"></li>
                                    <li><a href="#">售后服务</a></li>
                                </ul>
                            </li>
                        </ul>
                        <!-- 登陆注册 -->
                        <ul class="nav navbar-nav navbar-right login">
                            <li><a>欢迎尊贵的<span>leon</span>VIP来到小米商城！</a></li>
                            <li><a href="javascript:;" class="logout">退出</a></li>
                            <!-- <li><a href="login.html">登陆</a></li>
                            <li><a href="register.html">注册</a></li> -->
                        </ul>
                    </div><!-- /.navbar-collapse -->
                </div><!-- /.container-fluid -->
            </nav>
        </div>
    </div>
    <!-- 轮播图 -->
    <style>
        .swiper {
            width: 1200px;
            height: 400px;
        }
    </style>
    <div class="swiper">
        <div class="swiper-wrapper">
            <div class="swiper-slide"><img src="../static/images/628a0172dc664f2740250ed9691b65ee.jpg"
                    style="width: 100%;height: 100%;"></div>
            <div class="swiper-slide"><img src="../static/images/008e480893428ae9c9c4452f67a4eec9.webp"
                    style="width: 100%;height: 100%;"></div>
            <div class="swiper-slide"><img src="../static/images/2d94ad7f4d2aa996bdf9b05294ccac9a.webp"
                    style="width: 100%;height: 100%;"></div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>

        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>
    </div>
    <style>
        .mateimg a {
            display: flex;
            flex-direction: column;
            width: 1200px;
            height: 100px;
            margin: 0 auto;
            overflow: hidden;
        }
    </style>
    <div class="mateimg">
        <a href="">
            <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/b2a3468c474addf9140a21cc77a87d5c.jpeg?thumb=1&w=1226&h=120&f=webp&q=90"
                alt="">
        </a>
        <a href="">
            <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/01cc6a570d32a2ee09a2d5c2009a9968.jpg?thumb=1&w=1226&h=120&f=webp&q=90"
                alt="">
        </a>
        <a href="">
            <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/88e35cffc82cd98cd53172460067af17.jpg?thumb=1&w=1226&h=120&f=webp&q=90"
                alt="">
        </a>
    </div>
    <!-- 北京旅游列表 -->
    <a href="" name="bjjd"></a>
    <div class="wrap" name="bjjd">
        <div class="content">
            <h1>热售商品 <small>最新上市</small></h1>
            <div class="container fluid">
                <div class="row beijing" id="bjgood">
                    <!-- <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
                    <div class="thumbnail">
                        <img src="https://bkimg.cdn.bcebos.com/pic/2fdda3cc7cd98d1001e976fc3376af0e7bec55e73aef" alt="...">
                        <div class="caption">
                            <h3>颐和园</h3>
                            <p class='introduce'>阿斯顿发斯蒂芬阿斯蒂芬</p>
                            <p>
                                <a href="#" class="btn btn-default" role="button">查看详情</a>
                            </p>
                        </div>
                    </div>
                </div> -->
                </div>
            </div>
        </div>
    </div>
    <!-- 安徽景点 -->
    <a href="" name="ahjd"></a>
    <div class="wrap">
        <div class="content">
            <h1>人气好物 <small>正在热卖</small></h1>
            <div class="container fluid">
                <div class="row anhui" id="hotmax">
                    <!-- <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
                    <div class="thumbnail">
                        <img src="http://5b0988e595225.cdn.sohucs.com./static/images/20171222/014e9fc392984995bb10bf8b40385bb0.jpeg" alt="...">
                        <div class="caption">
                            <h3>颐和园</h3>
                            <p>阿斯顿发斯蒂芬阿斯蒂芬</p>
                            <p>
                                <a href="#" class="btn btn-default" role="button">查看详情</a>
                            </p>
                        </div>
                    </div>
                </div> -->

                </div>
            </div>
        </div>
    </div>
    <!-- 底部 -->
    <div class="wrap footer">
        <div class="content">
            <div class="mibox">
                <div class="miboxlest">
                    <ul class="miboxmax">
                        <li><a rel="nofollow" href="//www.mi.com/service/aftersale/front" target="_blank"><em
                                    class="iconfont-tool"></em>预约维修服务</a></li>&nbsp;&nbsp;&nbsp;&nbsp;
                        <li><a rel="nofollow" href="//www.mi.com/service/exchange#back" target="_blank"><em
                                    class="iconfont-circle-7"></em>7天无理由退货</a></li>&nbsp;&nbsp;&nbsp;&nbsp;
                        <li><a rel="nofollow" href="//www.mi.com/service/exchange#back" target="_blank"><em
                                    class="iconfont-circle-15"></em>15天免费换货</a></li>&nbsp;&nbsp;&nbsp;&nbsp;
                        <li><a rel="nofollow" href="//www.mi.com/service/buy/Postal%20policy" target="_blank"><em
                                    class="iconfont-gift"></em><span id="J_footerPrice">满69元包邮</span></a></li>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <li><a rel="nofollow" href="//www.mi.com/service/sitelist" target="_blank"><em
                                    class="iconfont-location"></em>520余家售后网点</a></li>&nbsp;&nbsp;&nbsp;&nbsp;
                    </ul>
                </div>
            </div>
            <ul class="nav nav-pills">
                <li role="presentation">
                    <a href="">关于千峰</a>
                </li>
                <li role="presentation">
                    <a href="">联系我们</a>
                </li>
                <li role="presentation">
                    <a href="">企业合作</a>
                </li>
                <li role="presentation">
                    <a href="">招贤纳士</a>
                </li>
                <li role="presentation">
                    <a href="">报名咨询</a>
                </li>
                <li role="presentation">
                    <a href="">教学视频</a>
                </li>
                <li role="presentation">
                    <a href="">学员论坛</a>
                </li>
                <li role="presentation">
                    <a href="">网站地图</a>
                </li>
            </ul>
            <p>Copyright 2011-2020 北京千锋互联科技有限公司 京ICP备12003911号-3 京公网安备 11010802030320号</p>
        </div>
    </div>
</body>

</html>
<!-- 引入js的库 -->
<script src="../lib/jquery.min.js"></script>
<!-- 引入bootstrap.js，bootstrap的js需要依赖一个js库 -->
<script src="../lib/bootstrap.js"></script>
<script src="../lib/swiper/swiper-bundle.min.js"></script>
<!-- 引入弹出层 -->
<script src="../lib/layer/layer.js"></script>
<script src="../utils/ajax.js"></script>
<script src="../js/index.js"></script>
<script src="../utils/cookie.js"></script>
<script src="../js/checkLogin.js"></script>
<script>
    // swiper轮播图的使用
    var mySwiper = new Swiper('.swiper', {
        loop: true, // 循环模式选项

        // 如果需要分页器
        pagination: {
            el: '.swiper-pagination',
        },

        // 如果需要前进后退按钮
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
        // 切换效果
        effect: 'fade',
        // effect:'cube',
        // 自动轮播
        autoplay: {
            delay: 1000,
            pauseOnMouseEnter: true,
            disableOnInteraction: false
        }
    })
</script>